`ifndef TEST_SV
`define TEST_SV

`include "transaction.svh"

module automatic test;
	initial begin
		trans_base tr;
		trans_a tra;
		trans_b trb;
		tra = new(1);
		trb = new(1, 2);
		tr = tra;
		tra.print("tra");
		tr = trb;
		trb.print("trb");
	end
endmodule

`endif
